package com.woniu.supermarket.service;


import com.github.pagehelper.PageInfo;
import com.woniu.supermarket.vo.GoodsVo;
import com.woniu.supermarket.vo.ImgsGoodsDataVo;
import com.woniu.supermarket.vo.ImgsGoodsVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


public interface IImgsService {
    //增
    int add(ImgsGoodsVo imgsGoodsVo);
    //删
    int remove(int id);
    //批删
    int removeBatchByIds(int[] ids);

    //改
    int modify(ImgsGoodsVo imgsGoodsVo);

    //查
    PageInfo<ImgsGoodsVo> queryByPage(Integer now, Integer size, String des, Integer typeId);

    ImgsGoodsVo queryById(int id);

    List<ImgsGoodsDataVo> queryIGDV();

    int addIGDV(ImgsGoodsDataVo igdv);

    void removeIGDV(int gid);

    void removeBatchIGDVByIds(int[] ids);
}
